<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://localhost:1234/" />
<title>selenium_test</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">selenium_test</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>/ConfO/startReview.php?paper_id=5&amp;conference_id=2</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=all_comments</td>
	<td></td>
</tr>
<tr>
	<td>pause</td>
	<td>2000</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>id=comments</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>Hide all comments</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=5</td>
	<td></td>
</tr>
<tr>
	<td>pause</td>
	<td>2000</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>id=rate_div</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>id=new_comment</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=comment_content</td>
	<td>hello&nbsp;&nbsp;javascript</td>
</tr>
<tr>
	<td>click</td>
	<td>id=submit_comment</td>
	<td></td>
</tr>
<tr>
	<td>pause</td>
	<td>1000</td>
	<td></td>
</tr>
<tr>
	<td>assertAlert</td>
	<td>your comment was inserted successfully</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=b</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=multi_span</td>
	<td></td>
</tr>
<tr>
	<td>assertAlert</td>
	<td>Please select the paragraphs for this comment</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=b</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=11</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=12</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=#14 &gt; b</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=15</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=16</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=submit_comment</td>
	<td></td>
</tr>
<tr>
	<td>assertAlert</td>
	<td>If you are done selecting the required paragraphs please click the 'Done selecting' button before submitting your comment</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=multi_span</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=comment_content</td>
	<td>hello&nbsp;&nbsp;javascript2</td>
</tr>
<tr>
	<td>click</td>
	<td>id=submit_comment</td>
	<td></td>
</tr>
<tr>
	<td>pause</td>
	<td>1000</td>
	<td></td>
</tr>
<tr>
	<td>assertAlert</td>
	<td>your comment was inserted successfully</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=rate_cancel</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=all_comments</td>
	<td></td>
</tr>
<tr>
	<td>pause</td>
	<td>2000</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=all_comments</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>id=comments</td>
	<td></td>
</tr>

</tbody></table>
</body>
</html>
